package com.yswy.theater.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yswy.common.vo.dto.BaseFilter;
import com.yswy.theater.entity.TheaterPlayBindType;
import com.yswy.theater.vo.res.TheaterPlayResVo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.data.repository.query.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 * @since 2020-06-01
 */
@Mapper
public interface TheaterPlayBindTypeMapper extends BaseMapper<TheaterPlayBindType> {
    Page<TheaterPlayResVo> getTheaterPlayByType(@Param("typeId") Long typeId,
                                                @Param("sex") Integer sex,
                                                Page<BaseFilter> page);
}
